<extend name='Public/index'/>
<block name='content'>
<form action="?" id="up" method="get">
	<select class="clss"  name="up" id="menu">
<option <{$vo['up']==0?'selected':null}>value="0">顶级</option>
                        <volist name='opts' id='opt'>
                            <option <{$vo['up']==$opt['menu_id']?'selected':null}> value="<{$opt['menu_id']}>"><{$opt.mname}></option>
                        </volist>
	</select>
	</form>
	<select name="" id="two" size="8" style="width:80px;height:200px">




	</select>
	<script>
		$('#one .abc').bind('click',po);
		$('#two .abc').bind('click',oi);
		
		$('#up').change(function(){
			$('#up').submit();
		})

		function po(){
			$(this).on('click',oi);
			$(this).prependTo($('#two'));
		}
		function oi(){
			$(this).on('click',po);
			$(this).prependTo($('#one'));
		}



	</script>
</block>
